package com.yj.timecapsule.common.enums;
import lombok.Getter;

@Getter
public enum FriendRequestStatusEnum {
//    请求状态：pending（待处理）、accepted（已接受）、rejected（已拒绝）
    PENDING(0, "待处理"),
    ACCEPTED(1, "已接受"),
    REJECTED(2, "已拒绝");

    private final int code;
    private final String msg;

    FriendRequestStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public static String getPendingStr(){
        return PENDING.toString();
    }
    public static String getAcceptedStr(){
        return ACCEPTED.toString();
    }
    public static String getRejectedStr(){
        return REJECTED.toString();
    }


}
